.sale-top-ranking-container{
  background-color: #0B0A09;
  padding-bottom: 100rpx;
  &.grey-container{
    background-color: #f5f5f5
  }
  .top-rank{
    position: relative;
    .filter-box{
      width: 750rpx;
      height: 553rpx;
      overflow: hidden;
    }
    .filter-bg{
      width: 100%;
      height: 100%;
      background-image: url('/static/images/mine/touxiang.png');
      background-position: center;
      background-size: cover;
      filter: blur(20rpx);
    }
    .sale-time{
      position: absolute;
      top: 245rpx;
      left: 184rpx;
      .text{
        position: absolute;
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 40rpx;
        color: white;
        left: 0;
        top: 0;
        font-size: 22rpx;
      }
    }
    .return-button{
      @include extend-click();
      width: 30rpx;
      height: 30rpx;
      position: absolute;
      z-index: 2;
      top: 30rpx;
      left: 30rpx;
      /* #ifdef MP-WEIXIN */
      top: 74rpx; 
      /* #endif */
      image{
        width: 30rpx;
        height: 30rpx;
      }
    }
  }
  .top-3{
    display: flex;
    align-items: flex-end;
    margin: -100rpx 32rpx 0 32rpx;
    .member-item{
      position: relative;

      &.no0{
        .member-info{
          .head-img{
            .avatar{
              border: 3rpx solid #cacaca;
            }
          }
        }
      }
      &.no1{
        .member-info{
          .head-img{
            width: 168rpx;
            height: 168rpx;
            .avatar{
              border: 3rpx solid #FEE150;
            }
            .no{
              width: 46rpx;
              height: 46rpx;
            }
          }
        }
      }
      &.no2{
        .member-info{
          .head-img{
            .avatar{
              border: 3rpx solid #FBC278;
            }
          }
        }
      }
      .member-info{
        text-align: center;
        position: absolute;
        top: -70rpx;
        width: 100%;
        box-sizing: border-box;
        padding: 0 16rpx;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .head-img{
          position: relative;
          width: 142rpx;
          height: 142rpx;
          .avatar{
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 50%;
          }
          .no{
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 40rpx;
            height: 40rpx;
            bottom: -18rpx;
            border: none;
          }
        }
        .member-name{
          margin-top: 26rpx;
          @include text-ellipsis-line(1);
          font-size: 24rpx;
          color: #fff;
        }
        .member-rate{
          margin-top: 8rpx;
          color: #FFDEAB;
          font-size: 32rpx;
          &::before{
            content: '¥';
            font-size: 24rpx;
            margin-right: 5rpx;
          }
        }
        .rate-name{
          margin-top: 8rpx;
          font-size: 20rpx;
          color: #999;
        }
      }
    }
    .no1{
      z-index: 2;
      margin: 0 -10rpx;
    }
  }
  .top-user{
    position: relative;
    width: 710rpx;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    min-height: 304rpx;
    background: #FFFFFF;
    border-radius: 2px;
    margin: -150rpx 20rpx 20rpx 20rpx;
    padding: 24rpx;
    .user-head{
      position: absolute;
      left: 50%;
      top: -280rpx;
      z-index: 2;
      margin-left: -200rpx;
      width: 400rpx;
      border-radius: 8rpx;
      height: 400rpx;
    }
    .title{
      font-weight: 800;
      color: #333;
      font-size: 36rpx;
      line-height: 70rpx;
      margin-top: 82rpx;
    }
    .subTitle{
      color: #999;
      text-align: center;
      font-size: 28rpx;
    }
  }
  .user-block{
    margin: 0 auto;
    width: 710rpx;
    background-color: #FFFFFF;
    border-radius: 2px;
    .block-line-1{
      display: flex;
      padding: 32rpx 44rpx;
      justify-content: space-between;
      align-items: flex-end;
      text-align: center;
      font-size: 24rpx;
      .user-head{
        width: 88rpx;
        height: 88rpx;
        border-radius: 50%;
      }
      .no_image{
        // margin-left: 76rpx;
        width: 46rpx;
        height: 46rpx;
      }
      .user-name{
        @include text-ellipsis-line(1);
        max-width: 140rpx;
        margin-top: 16rpx;
      }
      .sale-no{
        &::before{
          content: '¥';
          font-size: 24rpx;
          margin-right: 5rpx;
        }
        color: #333;
        font-size: 32rpx;
      }
      .user-no{
        color: #333;
        font-size: 28rpx;
      }
      .subTitle{
        color: #666;
        margin-top: 36rpx;
      }
    }

  }
  .block-line-2{
    border-top: 1px solid $color-border;
    color: #C88A34;
    .skill{
      padding: 20rpx 0;
      display: flex;
      align-items: center;
      justify-content: center;
      .arrow{
        margin-left: 10rpx;
        width: 26rpx;
        height: 16rpx;
      }
    }
  }
  .rank-list-box{
    background-color: #fff;
    margin: 20rpx;
    .rank-title{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24rpx 44rpx;
      font-size: 28rpx;
      .title{
        font-weight: 400;
        line-height: 40rpx;
      }
    }
    .rank-item-list{
      border-top: 2rpx solid $color-border;
      padding: 24rpx 44rpx;
      .rank-item{
        overflow: hidden;
        margin-bottom: 48rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        &:nth-last-child(1){
          margin-bottom: 0;
        }
        .id{
          flex: 0 0 56rpx;
          color: #666;
          text-align: center;
          font-weight: 500;
          width: 56rpx;
        }
        .user{
          display: flex;
          align-items: center;
          flex: 1;
          margin-left: 44rpx;
          .head-box{
            position: relative;
            .user-head{
              width: 72rpx;
              height: 72rpx;
              border-radius: 50%;
            }
          }
          .self{
            position: absolute;
            height: 24rpx;
            width: 48rpx;
            bottom: 0;
            left: 50%;
            margin-left: -24rpx;
          }
          .user-head{
            width: 72rpx;
            height: 72rpx;
            border-radius: 50%;
          }
          .user-name{
            @include text-ellipsis-line(1);
            margin-left: 16rpx;
            max-width: 240rpx;
            font-size: 24rpx;
            color: #666;
          }
        }
        .money{
          &::before{
            content: '¥';
            font-size: 20rpx;
            margin-right: 5rpx;
          }
          color: #000;
          font-size: 28rpx;
          font-weight: 500;
        }
      }
    }
  }
  .rank-detail-box{
    .rank-title{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24rpx 36rpx;
      font-size: 28rpx;
      .title{
        color: #999;
        font-size: 24rpx;
        font-weight: 400;
        line-height: 40rpx;
        &:nth-child(2){
          margin-left: 100rpx;
        }
      }
    }
    .rank-item-list{
      border-top: none;
      padding: 24rpx 36rpx;
      .rank-item{
        .no_image{
          margin-left: 76rpx;
          width: 46rpx;
          height: 46rpx;
        }
        overflow: hidden;
        margin-bottom: 48rpx;
        display: flex;
        align-items: center;
        justify-content: left;
        &:nth-last-child(1){
          margin-bottom: 0;
        }
        .id{
          flex: 0 0 190rpx;
          text-align: center;
          color: #000;
          font-weight: 500;
          width: 56rpx;
        }
        .user{
          display: flex;
          align-items: center;
          flex: 0 0 240rpx;
          margin-left: 0rpx;
          .user-head{
            width: 72rpx;
            height: 72rpx;
            border-radius: 50%;
          }
          .user-name{
            @include text-ellipsis-line(1);
            margin-left: 16rpx;
            max-width: 150rpx;
            font-size: 28rpx;
            color: #000;
          }
        }
        .money-none{
          flex: 1;
          text-align: right;
          color: #000;
          font-size: 28rpx;
          font-weight: 500;
        }
        .money{
          flex: 1;
          text-align: right;
          &::before{
            content: '¥';
            font-size: 20rpx;
            margin-right: 5rpx;
          }
          color: #000;
          font-size: 32rpx;
          font-weight: 500;
        }
      }
    }
  }
  .teaching-title{
    font-size: 32rpx;
    text-align: center;
    background-color: #fff;
    margin: 0 20rpx;
    padding: 32rpx 32rpx 0 32rpx;
    .title-text{
      border-bottom: 2rpx solid $color-border;
      padding-bottom: 32rpx;
      font-weight: bold;
    }
  }
  .user-teaching{
    box-sizing: border-box;
    width: 710rpx;
    font-size: 28rpx;
    color: #000;
    // min-height: 300rpx;
    background: #FFFFFF;
    border-radius: 2rpx;
    line-height: 42rpx;
    margin: 0 20rpx 20rpx 20rpx;
    padding: 31rpx 44rpx;
    &.grey{
      color: #999;
    }
  }
  .to-ranking-list{
    width: 710rpx;
    height: 80rpx;
    background: #000000;
    border-radius: 2rpx;
    color: white;
    font-size: 28rpx;
    text-align: center;
    line-height: 80rpx;
    margin: 0rpx 20rpx;

  }
}